home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Frameworks / SCAPI 0.85 / Spunk Cross API 1.0 / WinSCAPI / Headers / SCAPIMenu.h < prev    next >
Encoding:
Text File  |  1997-06-19  |  1.2 KB  |  55 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    SCAPIMenu.h                   ©1997 Spunk Cross         All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef SCAPIMENU_H
  6. #define SCAPIMENU_H
  7.  
  8. #include "SCAPICommonIncludes.h"
  9.  
  10.  
  11. // ---------------------------------------------------------------------------
  12. //        SCAPIMenu Class
  13. // ---------------------------------------------------------------------------
  14.  
  15. class SCAPIMenu : public CMenu
  16. {
  17.     friend class SCAPIMenuBar;
  18.  
  19.     // ===========================================================
  20.     // === Spunk Cross API, these are the routines you can use ===
  21.     // ===========================================================
  22.     
  23.         // Constructor - Destructor
  24.         // ------------------------
  25.         
  26.     public:
  27.     
  28.         SCAPIMenu(char*    inTitle);
  29.         
  30.         ~SCAPIMenu();
  31.         
  32.         
  33.         // Member functions
  34.         // ----------------
  35.         
  36.     public:
  37.     
  38.         void    AddItem(int    inCommand, char*    inText);
  39.         
  40.         void    AddSeparator(void);
  41.         
  42.         
  43.     // =================================
  44.     // === Internal part, do not use ===
  45.     // =================================
  46.         
  47.         // Member variables
  48.         // ----------------
  49.         
  50.     private:
  51.     
  52.         char*    mMenuTitle;
  53. };
  54.  
  55. #endif